#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Time: 2023/1/5 0:45
# @Author: 周阳
# @Email: 100530987@qq.com
# @File：datas.py
import yaml
def get_data(file):
    with open(file, encoding="utf-8") as f:
        return yaml.safe_load(f)